package com.ruoyi.system.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class ApiOrderPayAddDto extends ApiDto {
    @NotBlank(message = "商户订单号不能为空")
    @ApiModelProperty(value = "商户订单号", required = true)
    private String merchantOrderNo;
    @ApiModelProperty(value = "转账金额", required = true)
    @NotNull(message = "转账金额不能为空")
    private String amount;

    @ApiModelProperty(value = "收款⼈", required = true)
    @NotBlank(message = "收款人不能为空")
    private String name;
    @NotBlank(message = "收款账号不能为空")
    @ApiModelProperty(value = "收款账号", required = true)
    private String accountNumber;
    @NotBlank(message = "回调地址不能为空")
    @ApiModelProperty(value = "回调地址", required = true)
    private String notifyUrl;


}
